package models

type LiveInfo struct {
	Code int `json:"code" required:"true" description:"状态码"`
	Message string `json:"err" required:"true" description:"错误信息 默认值为空字符串"`
	CurPage int `json:"cur_pag" required:"true" description:"当前页 不分页时默认值为0"`
	Total int `json:"size" required:"true" description:"请求的条目"`
	Lives []*Live `json:"lives" required:"true" description:"直播items"`
}

type Live struct {
	Type int  `json:"type" required:"true" description:"类型 1视频直播、2视频回放、3图文直播、4图文回放"`
	SessionId int `json:"session_id" required:"true" description:"会话id"`
	ActiveNum int `json:"active_num" required:"true" description:"当前活跃人数"`
	Title string `json:"title" required:"true" description:"标题"`
	ImageUrl string `json:"image_url" required:"true" description:"图片地址"`
}